package com.hzhr.iot.collect.sdk.model.function;

import com.hzhr.iot.core.annotation.CygProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "FunctionModel", description = "功能模型")
public class FunctionModel {
    @ApiModelProperty(value = "说明 : 协议编号", required = true)
    @CygProperty(show = "", entityProp = "")
    private String code;
    @ApiModelProperty(value = "说明 : 功能码", required = true)
    @CygProperty(show = "", entityProp = "")
    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

